package com.book.manager.service.authentication;

import com.book.manager.dto.LoginReq;
import com.book.manager.dto.Token;
import com.book.manager.model.User;

import javax.servlet.http.HttpServletRequest;

public interface MyAuthenticationService {
    Token loginWithUserNameAndPw(HttpServletRequest request, LoginReq req);

    User getLoginUser();
}
